\hypertarget{proc_8c}{
\section{/home/carminha/workspace/os-\/raphael-\/shanshan/trunk/proc.c File Reference}
\label{proc_8c}\index{/home/carminha/workspace/os-\/raphael-\/shanshan/trunk/proc.c@{/home/carminha/workspace/os-\/raphael-\/shanshan/trunk/proc.c}}
}
{\ttfamily \#include $<$stdio.h$>$}\par
{\ttfamily \#include $<$stdlib.h$>$}\par
{\ttfamily \#include $<$unistd.h$>$}\par
{\ttfamily \#include $<$string.h$>$}\par
{\ttfamily \#include $<$sys/select.h$>$}\par
{\ttfamily \#include \char`\"{}auxiliaire.h\char`\"{}}\par
{\ttfamily \#include \char`\"{}types.h\char`\"{}}\par
\subsection*{Functions}
\begin{DoxyCompactItemize}
\item 
static int \hyperlink{proc_8c_a4816cdb76a4506b477f140cac14ba012}{get\_\-page} (int page\_\-max, \hyperlink{types_8h_aafdc3b85f032d7c2392e8bd9c95996e6}{acces} $\ast$type)
\begin{DoxyCompactList}\small\item\em Retourne un numéro de page et un mode d'accès. \item\end{DoxyCompactList}\item 
static void \hyperlink{proc_8c_af4215a88001c689829f6d9170143bd15}{init\_\-surv} (fd\_\-set $\ast$s, struct timeval $\ast$t)
\item 
int \hyperlink{proc_8c_a0ddf1224851353fc92bfbff6f499fa97}{main} (int argc, char $\ast$argv\mbox{[}$\,$\mbox{]})
\end{DoxyCompactItemize}


\subsection{Function Documentation}
\hypertarget{proc_8c_a4816cdb76a4506b477f140cac14ba012}{
\index{proc.c@{proc.c}!get\_\-page@{get\_\-page}}
\index{get\_\-page@{get\_\-page}!proc.c@{proc.c}}
\subsubsection[{get\_\-page}]{\setlength{\rightskip}{0pt plus 5cm}static int get\_\-page (
\begin{DoxyParamCaption}
\item[{int}]{ page\_\-max, }
\item[{{\bf acces} $\ast$}]{ type}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{proc_8c_a4816cdb76a4506b477f140cac14ba012}


Retourne un numéro de page et un mode d'accès. 


\begin{DoxyParams}{Parameters}
\item[\mbox{\tt[in]} {\em page\_\-max}]Maximum de pages TODO faire la description \item[\mbox{\tt[out]} {\em $\ast$type}]Type d'accès (Lecture ou Ecriture)\end{DoxyParams}
\begin{DoxyReturn}{Returns}
Le numéro de la page 
\end{DoxyReturn}
\hypertarget{proc_8c_af4215a88001c689829f6d9170143bd15}{
\index{proc.c@{proc.c}!init\_\-surv@{init\_\-surv}}
\index{init\_\-surv@{init\_\-surv}!proc.c@{proc.c}}
\subsubsection[{init\_\-surv}]{\setlength{\rightskip}{0pt plus 5cm}static void init\_\-surv (
\begin{DoxyParamCaption}
\item[{fd\_\-set $\ast$}]{ s, }
\item[{struct timeval $\ast$}]{ t}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{proc_8c_af4215a88001c689829f6d9170143bd15}
\hypertarget{proc_8c_a0ddf1224851353fc92bfbff6f499fa97}{
\index{proc.c@{proc.c}!main@{main}}
\index{main@{main}!proc.c@{proc.c}}
\subsubsection[{main}]{\setlength{\rightskip}{0pt plus 5cm}int main (
\begin{DoxyParamCaption}
\item[{int}]{ argc, }
\item[{char $\ast$}]{ argv\mbox{[}$\,$\mbox{]}}
\end{DoxyParamCaption}
)}}
\label{proc_8c_a0ddf1224851353fc92bfbff6f499fa97}
